/*
 * -----------------------------------------------------------------------------
 * -----------------------------------------------------------------------------
 *
 * -----------------------------------------------------------------------------
 * -----------------------------------------------------------------------------
 */

package control;

/**
 * 21/10/2011
 * @author Karen
 */
public class FormularioBean6 implements java.io.Serializable, FormBeam {

    //Propiedades de control
    private boolean guardado = false;
    private int nIdFormulario = -1;
    private int nIdVisita = -1;

    //Campos del formulario
    private int nR1Nac = -1;
    private int nR2Nac = -1;
    private int nR3Nac = -1;
    private int nR4Nac = -1;
    private int nR5Nac = -1;
    private int nR6Nac = -1;
    private int nOtrosNac = -1;
    private int nTotalNac = -1;

    private int nR1Ex = -1;
    private int nR2Ex = -1;
    private int nR3Ex = -1;
    private int nR4Ex = -1;
    private int nR5Ex = -1;
    private int nR6Ex = -1;
    private int nOtrosEx = -1;
    private int nTotalEx = -1;

    private String sBecasInstitucionNacionales = "Sin valor";
    private String sBecasInstitucionExtranjeros = "Sin valor";

    private int nNumeroBecasNacionales = -1;
    private int nNumeroBecasExtranjeros = -1;

    //Metodos de control
    public boolean getGuardado(){
        return guardado;
    }

    public void setGuardado(boolean guardado){
        this.guardado = guardado;
    }

    public int getnIdFormulario(){
        return nIdFormulario;
    }

    public void setnIdFormulario(int nIdFormulario){
        this.nIdFormulario = nIdFormulario;
    }

    public int getnIdVisita() {
        return nIdVisita;
    }

    public void setnIdVisita(int nIdVisita) {
        this.nIdVisita = nIdVisita;
    }
    
    //Getters-Setters
    /**
     * @return the nR1Nac
     */
    public int getnR1Nac() {
        return nR1Nac;
    }

    /**
     * @param nR1Nac the nR1Nac to set
     */
    public void setnR1Nac(int nR1Nac) {
        this.nR1Nac = nR1Nac;
    }

    /**
     * @return the nR2Nac
     */
    public int getnR2Nac() {
        return nR2Nac;
    }

    /**
     * @param nR2Nac the nR2Nac to set
     */
    public void setnR2Nac(int nR2Nac) {
        this.nR2Nac = nR2Nac;
    }

    /**
     * @return the nR3Nac
     */
    public int getnR3Nac() {
        return nR3Nac;
    }

    /**
     * @param nR3Nac the nR3Nac to set
     */
    public void setnR3Nac(int nR3Nac) {
        this.nR3Nac = nR3Nac;
    }

    /**
     * @return the nR4Nac
     */
    public int getnR4Nac() {
        return nR4Nac;
    }

    /**
     * @param nR4Nac the nR4Nac to set
     */
    public void setnR4Nac(int nR4Nac) {
        this.nR4Nac = nR4Nac;
    }

    /**
     * @return the nR5Nac
     */
    public int getnR5Nac() {
        return nR5Nac;
    }

    /**
     * @param nR5Nac the nR5Nac to set
     */
    public void setnR5Nac(int nR5Nac) {
        this.nR5Nac = nR5Nac;
    }

    /**
     * @return the nR6Nac
     */
    public int getnR6Nac() {
        return nR6Nac;
    }

    /**
     * @param nR6Nac the nR6Nac to set
     */
    public void setnR6Nac(int nR6Nac) {
        this.nR6Nac = nR6Nac;
    }

    /**
     * @return the nOtrosNac
     */
    public int getnOtrosNac() {
        return nOtrosNac;
    }

    /**
     * @param nOtrosNac the nOtrosNac to set
     */
    public void setnOtrosNac(int nOtrosNac) {
        this.nOtrosNac = nOtrosNac;
    }

    /**
     * @return the nTotalNac
     */
    public int getnTotalNac() {
        return nTotalNac;
    }

    /**
     * @param nTotalNac the nTotalNac to set
     */
    public void setnTotalNac(int nTotalNac) {
        this.nTotalNac = nR1Nac + nR2Nac + nR3Nac + nR4Nac + nR5Nac + nR6Nac + nOtrosNac;
    }

    /**
     * @return the nR1Ex
     */
    public int getnR1Ex() {
        return nR1Ex;
    }

    /**
     * @param nR1Ex the nR1Ex to set
     */
    public void setnR1Ex(int nR1Ex) {
        this.nR1Ex = nR1Ex;
    }

    /**
     * @return the nR2Ex
     */
    public int getnR2Ex() {
        return nR2Ex;
    }

    /**
     * @param nR2Ex the nR2Ex to set
     */
    public void setnR2Ex(int nR2Ex) {
        this.nR2Ex = nR2Ex;
    }

    /**
     * @return the nR3Ex
     */
    public int getnR3Ex() {
        return nR3Ex;
    }

    /**
     * @param nR3Ex the nR3Ex to set
     */
    public void setnR3Ex(int nR3Ex) {
        this.nR3Ex = nR3Ex;
    }

    /**
     * @return the nR4Ex
     */
    public int getnR4Ex() {
        return nR4Ex;
    }

    /**
     * @param nR4Ex the nR4Ex to set
     */
    public void setnR4Ex(int nR4Ex) {
        this.nR4Ex = nR4Ex;
    }

    /**
     * @return the nR5Ex
     */
    public int getnR5Ex() {
        return nR5Ex;
    }

    /**
     * @param nR5Ex the nR5Ex to set
     */
    public void setnR5Ex(int nR5Ex) {
        this.nR5Ex = nR5Ex;
    }

    /**
     * @return the nR6Ex
     */
    public int getnR6Ex() {
        return nR6Ex;
    }

    /**
     * @param nR6Ex the nR6Ex to set
     */
    public void setnR6Ex(int nR6Ex) {
        this.nR6Ex = nR6Ex;
    }

    /**
     * @return the nOtrosEx
     */
    public int getnOtrosEx() {
        return nOtrosEx;
    }

    /**
     * @param nOtrosEx the nOtrosEx to set
     */
    public void setnOtrosEx(int nOtrosEx) {
        this.nOtrosEx = nOtrosEx;
    }

    /**
     * @return the nTotalEx
     */
    public int getnTotalEx() {
        return nTotalEx;
    }

    /**
     * @param nTotalEx the nTotalEx to set
     */
    public void setnTotalEx(int nTotalEx) {
        this.nTotalEx = nR1Ex + nR2Ex + nR3Ex + nR4Ex + nR5Ex + nR6Ex + nOtrosEx;
    }

    /**
     * @return the sBecasInstitucionNacionales
     */
    public String getsBecasInstitucionNacionales() {
        return sBecasInstitucionNacionales;
    }

    /**
     * @param sBecasInstitucionNacionales the sBecasInstitucionNacionales to set
     */
    public void setsBecasInstitucionNacionales(String sBecasInstitucionNacionales) {
        this.sBecasInstitucionNacionales = sBecasInstitucionNacionales;
    }

    /**
     * @return the sBecasInstitucionExtranjeros
     */
    public String getsBecasInstitucionExtranjeros() {
        return sBecasInstitucionExtranjeros;
    }

    /**
     * @param sBecasInstitucionExtranjeros the sBecasInstitucionExtranjeros to set
     */
    public void setsBecasInstitucionExtranjeros(String sBecasInstitucionExtranjeros) {
        this.sBecasInstitucionExtranjeros = sBecasInstitucionExtranjeros;
    }

    /**
     * @return the nNumeroBecasNacionales
     */
    public int getnNumeroBecasNacionales() {
        return nNumeroBecasNacionales;
    }

    /**
     * @param nNumeroBecasNacionales the nNumeroBecasNacionales to set
     */
    public void setnNumeroBecasNacionales(int nNumeroBecasNacionales) {
        this.nNumeroBecasNacionales = nNumeroBecasNacionales;
    }

    /**
     * @return the nNumeroBecasExtranjeros
     */
    public int getnNumeroBecasExtranjeros() {
        return nNumeroBecasExtranjeros;
    }

    /**
     * @param nNumeroBecasExtranjeros the nNumeroBecasExtranjeros to set
     */
    public void setnNumeroBecasExtranjeros(int nNumeroBecasExtranjeros) {
        this.nNumeroBecasExtranjeros = nNumeroBecasExtranjeros;
    }

}
